package org.feluma.sgci.util;

import java.sql.*;

public class SqlAux {      
	
	public static Integer recordCount(ResultSet res) throws Excecao{
		Integer cont = 0;
		try {
			while (res.next()){
				++cont;
			}
		} catch (SQLException e) {
			cont = 0;
		}
		return cont;
	}
}


